package com.atguigu.headline.service;

import com.atguigu.headline.pojo.NewsHeadline;
import com.atguigu.headline.pojo.vo.HeadlineDetailVo;
import com.atguigu.headline.pojo.vo.HeadlineQueryVo;

import java.util.Map;

public interface NewsHeadlineService {
    public Map pageQuery(HeadlineQueryVo headlineQueryVo);

    HeadlineDetailVo showHeadlineDetail(int hid);

    void insert(NewsHeadline newsHeadline);

    NewsHeadline query();

    int update(NewsHeadline newsHeadline);

    int delte(int hid);
}
